<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$C.webtitle}</title>
<meta content="{$C.webkeywords}" name="Keywords">
<meta name="description" content="{$C.webdescription}" />
<script src="./Public/js/jquery.js"></script>
<script src="./Public/js/common.js"></script>
<script src="./Public/js/tbox/box.js"></script>

<link href="./Public/js/tbox/box.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/index.css" rel="stylesheet" type="text/css" />
<script src="__JS__/sixin/kindeditor/kindeditor.js"></script>
<link rel="stylesheet" href="__JS__/sixin/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="__JS__/sixin/kindeditor/themes/simple/simple.css" />
<script charset="utf-8" src="__JS__/sixin/kindeditor/lang/zh_CN.js"></script>
<load href="./Public/js/upload/uploadify.css" />
<load href="./Public/js/swfobject.js" />
<script type="text/javascript" src="./Public/js/jquery.uploadify.v2.1.4.min.js"></script> 
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
function turnoff(obj){
document.getElementById(obj).style.display="none";
}
</script>
</head>
<div id="pcbg">
<body onload="MM_preloadImages('__PUBLIC__/img/grsyhover.jpg','__PUBLIC__/img/tdwdhover.png')">
<include file="Public:header"/>

<div id="pcmain">
  <div id="pcmainleft">
    <div id="pcmainleft1">
  <a href="{:U('grwbsy')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','__PUBLIC__/img/grsyhover.png',1)"><img src="__PUBLIC__/img/grsy.jpg" name="Image8" width="17" height="16" border="0" id="Image8" />
  个人首页</a>
  <a href="{:U('pcxx')}" class="pclb2"><img src="__PUBLIC__/img/sxhover.png" width="17" height="11" />
  私信</a>
  <a href="{:U('tdwd')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image9','','__PUBLIC__/img/tdwdhover.png',1)"><img src="__PUBLIC__/img/tdwd.jpg" name="Image9" width="17" height="15" border="0" id="Image9" />
  提到我的</a>
  <a href="{:U('pl')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','__PUBLIC__/img/plhover.png',1)"><img src="__PUBLIC__/img/pl.jpg" name="Image10" width="17" height="14" border="0" id="Image10"/>
  评论</a>
  <a href="{:U('sc')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','__PUBLIC__/img/schover.png',1)"><img src="__PUBLIC__/img/sc.jpg" name="Image11" width="17" height="15" border="0" id="Image11"/>
  收藏</a>
  </div><!--pcmainleft1-->
  <div id="pcmainleft2">
  <a href="{:U('grsz')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','__PUBLIC__/img/szhover.png',1)"><img src="__PUBLIC__/img/sz.jpg" name="Image12" width="17" height="19" border="0" id="Image12"/>
  个人设置</a>
  <a href="{:U('hy')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','__PUBLIC__/img/hyhover.png',1)"><img src="__PUBLIC__/img/hy.jpg" name="Image13" width="17" height="16" border="0" id="Image13"/>
  好友</a>
  </div><!--pcmainleft2-->
  <div id="pcmainleft3">
  <a href="{:U('aqzx')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','__PUBLIC__/img/aqzxhover.png',1)"><img src="__PUBLIC__/img/aqzx.jpg" name="Image14" width="17" height="13" border="0" id="Image14"/>
  安全中心</a>
  </div><!--pcmainleft3-->
  </div>


  <div id="pcmainright">
  
  <div id="xsxtc">
  <form name="form" action="{:U('dosixin')}" method="post" onsubmit="return checkform();">
    <div id="xsxtc1"><a href="#closetc" onclick="javascript:turnoff('xsxtc')">x</a></div>
    <div id="xsxtc2" style="width:380px;"><span class="grsz1mc" style="width:40px;">发给</span><input name="nicheng" type="text" id="grsz1qtk" value="" /></div>
    <div id="xsxtc3" style="width:380px;"><span class="grsz1mc" style="width:40px;">内容</span>
    
      <textarea id="content" name="content" style="width:288px;height:108px;visibility:hidden;" ></textarea>
    </div>
    <div style="width:120px;height:120px;margin:-100px 30px 0 0;float:right;border:1px #000 solid;">
    	
        <div id="fileQueue1"></div>
        <input id="file_upload1" type="file" /><input name="sixin_tupian" type="hidden" value="" />
        <img id="sixin_tupian" src="<neq name='sixin_tupian' value=''><else/>__PUBLIC__/img/nopic.gif</neq>" width="120" height="90"/>
    </div>
        <div id="xsxtc4">
        <input type="image" src="__PUBLIC__/img/fsan.jpg" width="82" height="27" style="margin:40px 0 0 320px;" />
        </div>
  </form>
  </div>
<script language="javascript">

//图片上传
$("#file_upload1").uploadify({
		'uploader'       : './Public/js/swf/uploadify.swf',
		'script'         : './Public/js/upload/uploadify.php',
		'cancelImg'      : './Public/js/upload/cancel.png',
		'folder'         : 'data/sixintupian',
		'queueID'        : 'fileQueue1',
		'sizeLimit'      :	100 * 1024,
		'fileExt'        : '*.jpg;*.gif;*.png;', //允许文件上传类型,和fileDesc一起使用.
		'fileDesc'       : '*.jpg;*.gif;*.png;',  //选择文件对话框中的提示文本.
		'auto'           : true,
		'multi'          : false,	
		'onComplete':function(event,queueId,fileObj,response,data){
			$('input[name="sixin_tupian"]').val(response);
			$('#sixin_tupian').attr('src', response);
		}
});
</script>
<div id="pcmainright1">
      <div id="pcmainright1-1">私信</div>
      <a href="#" onmousedown="MM_changeProp('xsxtc','','display','block','DIV')">
          <div id="pcmainright1-2">
              <div id="xsx" style="background:transparent; border:none;">
              </div>
              <img src="__PUBLIC__/img/xsxan.jpg" width="58" height="34" />
          </div>
      </a>
    </div>
    <div id="pcmainright2">
	<script>
        var qq=0;
        function xian(tid){
         if(tid!=qq){
              qq=tid;
             $(".xxclassright4").slideUp();
             $("#z_"+tid).slideDown(500);
         }
        }
    </script>    
    <script language="javascript">

var editor;

KindEditor.ready(function(K) {

	editor = K.create('#content', {
			themeType : 'simple',
			resizeType: '0'
	});
	<volist name="sixin" id="sixinasd" key="i">
	var editors_{$i};
	editors_{$i} = K.create('#sixinhuifu_{$i}', {
			themeType : 'simple',
			resizeType: '0'
	});
	</volist>
});


</script>

    <volist name="sixin" id="sixin" key="i">
      <div class="xxclass">
        <div class="xxclassleft"><img src="{$sixin.fasongtouxiang}" style="width:96px;height:96px;" /></div>
        <div class="xxclassright">
          <div class="xxclassright1">
          <p style="line-height:30px;">{$sixin.fasongname}</p><span style="line-height:26px;">{$sixin.content}</span>
          <php>
          if($sixin[sixin_tupian]){
          </php>
          <div>
          <a href="javascript:;" onclick="dasixintupian({$sixin.id})"><img src="{$sixin.sixin_tupian}" style="width:100px;height:auto;margin-top:10px;" id="sixintupianxiao{$sixin.id}"  /></a>
          </div>
          <div>
          <a href="javascript:;" onclick="xiaosixintupian({$sixin.id})"><img src="{$sixin.sixin_tupian}" style="margin-top:10px;display:none;" id="sixintupianda{$sixin.id}"  /></a>
          </div>
<script>
function dasixintupian(tid){
	var img = new Image();
	img.src= $('#sixintupianda'+tid).attr('src');
	var kuan=img.width;
	if(kuan>520){
		$('#sixintupianda'+tid).css('width',520);
		kuan=$('#sixintupianda'+tid).css('width',520);
	}else{
	}
	$('#sixintupianxiao'+tid).hide();
	$('#sixintupianda'+tid).show();
	
}
function xiaosixintupian(tid){
	$('#sixintupianxiao'+tid).show();
	$('#sixintupianda'+tid).hide();
	
}
</script>
          <php>
          }else{
          }
          </php>
          </div>
          <div class="xxclassright2">{$sixin.time|date='m月d日  H:i',###}</div>

          <div class="xxclassright3" style="width:620px;"><a href="javascript:;" onclick="xian('{$i}')">回复 | 展开私信</a></div>
          
          <div class="xxclassright4"  style="width:655px;float:left;border-top:1px dashed #c4c5c5;padding-top:10px;padding-bottom:10px;<neq name="sixin.id" value="">display:none;</neq>"  id="z_{$i}">
              <volist name="sixin.sixinhuifu" id="sixinhuifu" key="ii">
                  <div style="width:656px;height:auto;float:left;">
                    <div class="xxclassright4-1">
                      <div class="jiange"></div>
                      <div class="shijian"><p>{$sixinhuifu.time|date='m月d日',###}</p><p>{$sixinhuifu.time|date='H:i',###}</p></div>
                    </div>
                    <div class="xxclassright4-2q" style="margin-top:15px;">            
                    <div class="xxclassright4-2">
                      <div class="xftx"><img src="{$sixinhuifu.fasongtouxiang}" style="width:45px;height:43px;" /></div>
                      <div class="xfwz"><span>{$sixinhuifu.fasongname}:</span>{$sixinhuifu.content}</div>
                    </div><!--xxclassright4-2-->
                    </div>
                  </div>  
              </volist> 
              
              <div class="xxclassright4-3">
              <form name="form" action="{:U('dosixinhuifu')}" method="post" onsubmit="return checkforms();">
                <textarea id="sixinhuifu_{$i}" name="content" style="width:615px;height:60px;float:left;visibility:hidden;" ></textarea>
                <input type="hidden" name="sixin_id" value="{$sixin.id}" />
                <input type="image" src="__PUBLIC__/img/sxpinglun.jpg" width="72" height="26" style="float:right;border:none;margin:5px 20px 0 0;" />   
              </form>
              </div>
          </div>
        </div>
        <div class="jt"><img src="__PUBLIC__/img/dhkjt.jpg" width="17" height="21" /></div>
<div class="xxclassdi"></div>
      </div>
    </volist>
      
      <div id="fengye" class="page" style="height:40px;">
                        {$page}
      </div>
    </div><!--pcmainright2-->
  </div>
  <div id="pcmaindi"></div>
</div>
<include file="Public:bottom"/>

</div><!--pcbg-->
</body>
</html>